<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xs:schema xmlns:tk="http://www.qdocuments.net" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.qdocuments.net" elementFormDefault="qualified">
  <xs:import schemaLocation="EasySearch.xsd"/>
  <xs:element name="EasySearch">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="TableName"/>
        <xs:element ref="Fields" minOccurs="0"/>
        <xs:element ref="KeyField" minOccurs="0"/>
        <xs:element ref="InfoField" minOccurs="0"/>
        <xs:element ref="DefaultOrder" minOccurs="0"/>
        <xs:element ref="TopCount" minOccurs="0"/>
        <xs:element ref="Search" minOccurs="0"/>
        <xs:element ref="SQL" minOccurs="0"/>
        <xs:element ref="DataRight" minOccurs="0"/>
      </xs:sequence>
      <xs:attribute name="RegName" type="xs:ID" use="required"/>
      <xs:attribute name="UseCache" type="xs:boolean"/>
      <xs:attribute name="SearchCache" type="xs:boolean"/>
      <xs:attribute name="BaseClass" use="required">
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="EasySearch"/>
            <xs:enumeration value="CodeTableEasySearch"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="Description" type="xs:string"/>
    </xs:complexType>
  </xs:element>
</xs:schema>
